package com.cqut.dao;

import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

import com.cqut.model.RaterAppointManager;

public interface RaterAppointManagerMapper {
    int deleteByPrimaryKey(@Param("raterAppointId") String raterAppointId);

    int deleteByPrimaryKeys(@Param("primaryKeys") String[] primaryKeys);

    int insert(RaterAppointManager record);

    int insertSelective(RaterAppointManager record);

    RaterAppointManager selectByPrimaryKey(@Param("raterAppointId") String raterAppointId);

    int updateByPrimaryKeySelective(RaterAppointManager record);

    int updateByPrimaryKey(RaterAppointManager record);

    List<RaterAppointManager> loadModels(@Param("parameters") String parameters, @Param("condition") String condition, @Param("order") String order, @Param("sort") String sort, @Param("offset") int offset, @Param("limit") int limit);

    List<Map<String, Object>> loadMaps(@Param("parameters") String parameters, @Param("condition") String condition, @Param("order") String order, @Param("sort") String sort, @Param("offset") int offset, @Param("limit") int limit);

    long count(@Param("parameters") String parameters, @Param("condition") String condition, @Param("isDistinct") boolean isDistinct);

    RaterAppointManager findModel(@Param("raterAppointId") String raterAppointId, @Param("parameters") String parameters);

    Map<String, Object> findMap(@Param("raterAppointId") String raterAppointId, @Param("parameters") String parameters);
}
